using System;
using System.Globalization;
using System.Windows.Data;
namespace MicroMsg.UI.Converter
{
	public class ChatMapInfoSwitchConverter : IValueConverter
	{
		public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
		{
			if (string.IsNullOrEmpty((string)value))
			{
				return 0;
			}
			return 1;
		}
		public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
		{
			throw new NotImplementedException();
		}
	}
}
